package dao;

import java.util.List;

import model.*;

public class DAOUserPF extends DAOJPA<UserPF> {
	
	public DAOUserPF(){
		super();
	}
	
	public List<UserPF> findAllUsersPF(){
		return (List<UserPF>) super.findAll();
	}
	
	// delete
	public int removeUser(String cpf){
		return super.removeByQuery("delete from UserPF u where u.cpf = \'" + cpf + "\'");
	}
}
